package com.crm.crmback;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
//@ComponentScan(basePackages = {"com.crm.crmback"})
@MapperScan(basePackages = {"com.crm.crmback.mapper"})//扫描mapper
public class CrmbackApplication {

    public static void main(String[] args) {
        SpringApplication.run(CrmbackApplication.class, args);
    }

}
